package cn.smdq.ch.upms.admin.pay.channel.param;

import lombok.Data;

/**
 * @author shuimodanqing
 * create at:  2019/1/29  2:39 PM
 * @description alipay回应
 */
@Data
public class AliPayPrePayResponse {
    private String body;

    private String outTradeNo;

    private String tradeNo;

    public static class Builder {

        private AliPayPrePayResponse response;

        public Builder() {
            this.response = new AliPayPrePayResponse();
        }

        public Builder body(String body) {
            this.response.body = body;
            return this;
        }

        public Builder outTradeNo(String outTradeNo) {
            this.response.outTradeNo = outTradeNo;
            return this;
        }

        public Builder tradeNo(String tradeNo) {
            this.response.tradeNo = tradeNo;
            return this;
        }

        public AliPayPrePayResponse build() {
            return this.response;
        }
    }
}
